package com.zrf.testchatgpt;

import com.zrf.testchatgpt.config.TaskThreadPoolConfig;
import org.apache.ibatis.annotations.Mapper;
import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.boot.context.properties.EnableConfigurationProperties;
import org.springframework.context.annotation.EnableAspectJAutoProxy;
import org.springframework.scheduling.annotation.EnableAsync;

@EnableAspectJAutoProxy
@SpringBootApplication(exclude= {DataSourceAutoConfiguration.class})
@MapperScan("com.zrf.testchatgpt.mapper")
@EnableAsync
@EnableConfigurationProperties({TaskThreadPoolConfig.class})
public class TestChatgptApplication {

    public static void main(String[] args) {
        SpringApplication.run(TestChatgptApplication.class, args);
    }

}
